
<style>
.item-info-box .crumb-location {
    border-bottom: none!important;
}
.wrap.company-server {
     padding: 0!important; 
}
.company-banner {
    padding-bottom: 0px!important;
    text-align: center;
}
.company-server li .server-pic {
    width:60px!important;
    height:60px!important;
    margin-top:70px;
   
}
.company-server li {
    height: auto!important;
    padding-bottom:30px;
}
.company-server li {
    width: 26%!important;

}
  .productchaxun{
    display: block;
    width: 60px;
    height: px;
    border: 2px solid #383737;
    border-radius: 98px;
    overflow: hidden;
    -webkit-transition: all .5s ease-in-out;
    -moz-transition: all .5s ease-in-out;
    transition: all .5s ease-in-out;
    margin: 0 auto;
}
/* global.css:224 */

</style>
<?php $foot_section = M("Blockquote")->find(2);?>
<?php $endurl =explode('_',$_SERVER['REQUEST_URI']);$rmparrs = explode('.', $endurl[1])?>
<?php $foot_section = M("category")->where('id='.$rmparrs[0])->find();
?>
  <div class="new-ist-box item-info-box">
        <!-- 当前位置 -->
        <div class="wrap">
            <div class="crumb-location">
            <?php if($foot_section['parentid']!=0){
                $parent = M("category")->where('id='.$foot_section['parentid'])->find();?>
                 <span class="link">首页</span>
                  <span class="link">></span>
                 <a href="<?php echo ($parent['url']);?>"><?php echo $parent['catname']; ?></a> 
                  <span class="link">></span>
                  <span class="txt"><?php echo $foot_section['catname']; ?></span>
              <?php }else{ ?>  
               	<span class="link">首页</span>
               	 <span class="link">></span>
                    <span class="txt"><?php echo $foot_section['catname']; ?></span>
               <?php }?>      
            </div>
        </div>
       
<?php 
if($foot_section['parentid']!=0){
    $map['parentid']  = array('in',$foot_section['parentid']);
}else{
    $map['parentid']  = array('in',$foot_section['id']);
}

$categorys = M("category")->where($map)->select();
?>
<div class="main">
<link type="text/css" rel="stylesheet" href="{$themeDir}public/index.css" />
<?php 
unset($where);
$where['lang'] = LANG_ID;
$where['status'] = 1;
$where['fid'] = 3;
$slides = M("SlideData")->where($where)->order('listorder desc , id desc')->select();

?>

 <!-- 广告图片 -->
          <?php 
              unset($blocks);
$where['lang'] = LANG_ID;
$where['status'] = 1;
$where['id'] = 18;
$blocks = M("blockquote")->where($where)->select();

?>  
    <div class="wrap company-banner">
        <img src="<?php echo $blocks[0]['thumb']?>" />
    </div>
    
    <!-- 广告图片 -->
<!-- top -->
    
<div id="slideBox" class="slideBox" style="display:none">
	<span class="prev"></span>
	<span class="next"></span>
	<div class="hd">
		<ul>
			<?php 
			$i = 1;
			foreach($slides as $slide){
			?>
			<li><?php echo $i; ?></li>
		<?php $i++; } ?>
		</ul>
	</div>
	<div class="bd">
		<ul>
		<?php 
		foreach($slides as $slide){
		?>
			<li><a href="<?php echo $slide['link']; ?>" target="_blank">
				<img src="<?php echo $slide['pic']; ?>" alt="<?php echo $slide['title']; ?>" title="<?php echo $slide['title']; ?>" />				
			</a></li>
		<?php } ?>
		</ul>
	</div>
</div>

   
    <!-- 服务列表 -->
    <?php 
unset($where);
$where['lang'] = LANG_ID;
$where['status'] = 1;
$where['id'] = 19;
$blocks = M("blockquote")->where($where)->select();
?>
	<div class="wrap" style="height:60px;font-size:20px;line-height:60px;padding-left:10px;color:#696969">我们承诺</div>
    <div class="wrap company-server" style="background-color:white;width: 1180px;">
        <ul style="    padding-left: 20%;">
            <li>
                <div class="server-pic">
                    <a href="#" target="_blank">
                    <!--{$themeDir}public/src/img/h_05.png thumb -->
	              <img width="60px"  height="60px" src="<?php echo $blocks[0]['thumb']?>">
	            </a>
                </div>
                
                <div class="server-txt">
                    <p class="c-txt"><?php echo $blocks[0]['description'] ?></p>
                    <p class="e-txt"><?php echo $blocks[0]['content'] ?></p>
                </div>
            </li>

              <?php 
              unset($blocks);
$where['lang'] = LANG_ID;
$where['status'] = 1;
$where['id'] = 20;
$blocks = M("blockquote")->where($where)->select();

?>
            <li>
                <div class="server-pic">
                    <a href="#" target="_blank">
                    <!--{$themeDir}public/src/img/h_05.png thumb -->
	              <img  width="60px"  height="60px" src="<?php echo $blocks[0]['thumb']?>">
	            </a>
                </div>        
                <div class="server-txt">
                    <p class="c-txt"><?php echo $blocks[0]['description'] ?></p>
                    <p class="e-txt"><?php echo $blocks[0]['content'] ?></p>
                </div>
            </li>
             <?php 
              unset($blocks);
$where['lang'] = LANG_ID;
$where['status'] = 1;
$where['id'] = 21;
$blocks = M("blockquote")->where($where)->select();

?>
            <li>
                <div class="server-pic">
                    <a href="#" target="_blank">
                    <!--{$themeDir}public/src/img/h_05.png thumb -->
	              <img  width="60px"  height="60px" src="<?php echo $blocks[0]['thumb']?>">
	            </a>
                </div>        
                <div class="server-txt">
                    <p class="c-txt"><?php echo $blocks[0]['description'] ?></p>
                    <p class="e-txt"><?php echo $blocks[0]['content'] ?></p>
                </div>
            </li>
        </ul>
    </div>
    <!-- 服务列表 -->
    <!-- 公司简介 -->
    <div class="wrap" style="height:60px;font-size:20px;line-height:60px;padding-left:10px;color:#696969">产品售后政策查询</div>
    <div class="wrap company-server" style="background-color:white;width: 1180px;height:164px">
        <ul style="    padding-left: 20%;">
                              <?php 
                              unset($blocks);unset($where);
$where['status'] = 1;
$where['catid'] = 54;
$blocks = M("article")->where($where)->select();
?>

		<?php foreach($blocks as $slide){?>
             <li style="width:19%!important">
                
                <div class="server-txt" style="padding-top: 45px!important;">
                    <p class="c-txt"> <a href="index.php/Chaxun/detail_<?php echo $slide['id'];?>"> <?php echo $slide['title']?></a></p></p>
                    
                </div>
            </li>
            <?php }?>
             
</ul></div>
    <!-- 公司简介 -->
<script type="text/javascript" src="/public/jscript/jquery.SuperSlide.2.1.1.js"></script>
<script type="text/javascript">
<!--jQuery(".slideBox").slide({mainCell:".bd ul",effect: "left",interTime: 2500,autoPlay:true});-->
</script>
</div>